<template>
  <div>
    <div>
      <h4>呼吸功能等级</h4>
      <el-row>
        <el-col>
            <span>临床表现</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.lung_function_radio">
              <el-radio :label="1">零级：活动如正常人，对日常生活无影响，无气短</el-radio>
              <el-radio :label="2">Ⅰ级：一般劳动较正常人容易出现气短</el-radio>
              <el-radio :label="3">Ⅱ级：较快行走或登楼，上坡时气短</el-radio>
              <el-radio :label="4">Ⅲ级：慢走100m以内即有气短</el-radio>
              <el-radio :label="5">Ⅳ级：讲话，穿衣等轻微活动时气短</el-radio>
              <el-radio :label="6">Ⅴ级：安静时也出现气短，不能平卧</el-radio>
              <el-input v-model="pgForm.lung_function_input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="说明"
              v-model="pgForm.lung_function_textarea1">
            </el-input>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "lung_function",
  title: "肺功能评定",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm:{
        lung_function_radio: 0,
        lung_function_input: '',
        lung_function_textarea1: '',
      }
    }
  }
}
</script>

<style scoped>
.el-row {
  margin: 10px 0;
  padding: 20px 10px;
  background-color: #f9f9f9;
}
.el-radio-group{
  padding: 10px 15px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}

</style>
